package org.smart4j.chapter1.entity;


import java.io.Serializable;
import java.util.Date;

/**
 * Created by ly on 2018/6/25.
 * 举报实体类,测试excel导出用
 */
public class CmsReport implements Serializable{
    private static final long serialVersionUID = 1L;
    private Integer id;     //主键
    private String name;    //姓名(举报人)
    private String sex;     //性别(举报人)
    private String nation;    //民族(举报人)
    private String politicalStatus;     //政治面貌(举报人)
    private String phone;                //联系方式(举报人)
    private String card;               //身份证(举报人)
    private String postalCode;          //邮政编码(举报人)
    private String address;            //住址(举报人)
    private String workUnit;            //工作单位(举报人)
    private String position;        //职位或身份(举报人)
    private String jibie;         //举报人级别
    private String area;                //所属地区
    private String nameTwo;      //姓名(被举报)
    private String sexTwo;    //性别(被举报)
    private String nationTwo;          //民族(被举报)
    private String politicalStatusTwo;     //政治面貌(被举报)
    private String level;    //级别(被举报)
    private String positionTwo;  //职务(被举报)
    private String apecialIdentity;       //特殊身份(被举报)
    private String areaTwo ;      //所属地区(被举报)
    private String workUnitTwo ;         //单位或地址(被举报)
    private String title  ;        //标题
    private String problemCategory ;      //问题类别
    private String mainQuestion  ;   //主要问题
    private Integer siteId;     //站点id
    private Date create;      //举报时间

    private String excelName;   //Excel表名称

    public String getExcelName() {
        return excelName;
    }

    public void setExcelName(String excelName) {
        this.excelName = excelName;
    }

    /*    @Id
    private Integer id;     //主键

    private String name;    //姓名(举报人)

    private String sex;     //性别(举报人)

    private String nation;    //民族(举报人)
    private String politicalStatus;     //政治面貌(举报人)
    private String phone;                //联系方式(举报人)
    private String card;               //身份证(举报人)
    private String postalCode;          //邮政编码(举报人)

    private String address;            //住址(举报人)

    private String workUnit;            //工作单位(举报人)

    private String position;        //职位或身份(举报人)

    private String area;                //所属地区

    private String nameTwo;      //姓名(被举报)
    @Column(name = "sex_two")
    private String sexTwo;    //性别(被举报)
    @Column(name = "nation_two")
    private String nationTwo;          //民族(被举报)
    @Column(name = "political_status_two")
    private String politicalStatusTwo;     //政治面貌(被举报)
    @Column(name = "level")
    private String level;    //级别(被举报)
    @Column(name = "position_two")
    private String positionTwo;  //职务(被举报)
    @Column(name = "apecial_identity")
    private String apecialIdentity;       //特殊身份(被举报)
    @Column(name = "area_two")
    private String areaTwo ;      //所属地区(被举报)
    @Column(name = "work_unit_two")
    private String workUnitTwo ;         //单位或地址(被举报)
    @Column(name = "title")
    private String title  ;        //标题
    @Column(name = "problem_category")
    private String problemCategory ;      //问题类别
    @Column(name = "main_question")
    private String mainQuestion  ;   //主要问题
    @Column(name = "siteId")
    private Integer siteId;     //站点id
    @Column(name = "create")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date create;      //举报时间*/

    public CmsReport() {

    }
    public CmsReport(String excelName) {
        this.excelName = excelName;
    }

    public CmsReport(Integer id, String name, String sex, String nation, String politicalStatus, String phone,
                     String card, String postalCode, String address, String workUnit, String position, String jibie,
                     String area, String nameTwo, String sexTwo, String nationTwo, String politicalStatusTwo, String level,
                     String positionTwo, String apecialIdentity, String areaTwo, String workUnitTwo, String title,
                     String problemCategory, String mainQuestion, Integer siteId, Date create, String excelName) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.politicalStatus = politicalStatus;
        this.phone = phone;
        this.card = card;
        this.postalCode = postalCode;
        this.address = address;
        this.workUnit = workUnit;
        this.position = position;
        this.jibie = jibie;
        this.area = area;
        this.nameTwo = nameTwo;
        this.sexTwo = sexTwo;
        this.nationTwo = nationTwo;
        this.politicalStatusTwo = politicalStatusTwo;
        this.level = level;
        this.positionTwo = positionTwo;
        this.apecialIdentity = apecialIdentity;
        this.areaTwo = areaTwo;
        this.workUnitTwo = workUnitTwo;
        this.title = title;
        this.problemCategory = problemCategory;
        this.mainQuestion = mainQuestion;
        this.siteId = siteId;
        this.create = create;
        this.excelName = excelName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getPoliticalStatus() {
        return politicalStatus;
    }

    public void setPoliticalStatus(String politicalStatus) {
        this.politicalStatus = politicalStatus;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getJibie() {
        return jibie;
    }

    public void setJibie(String jibie) {
        this.jibie = jibie;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getNameTwo() {
        return nameTwo;
    }

    public void setNameTwo(String nameTwo) {
        this.nameTwo = nameTwo;
    }

    public String getSexTwo() {
        return sexTwo;
    }

    public void setSexTwo(String sexTwo) {
        this.sexTwo = sexTwo;
    }

    public String getNationTwo() {
        return nationTwo;
    }

    public void setNationTwo(String nationTwo) {
        this.nationTwo = nationTwo;
    }

    public String getPoliticalStatusTwo() {
        return politicalStatusTwo;
    }

    public void setPoliticalStatusTwo(String politicalStatusTwo) {
        this.politicalStatusTwo = politicalStatusTwo;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getPositionTwo() {
        return positionTwo;
    }

    public void setPositionTwo(String positionTwo) {
        this.positionTwo = positionTwo;
    }

    public String getApecialIdentity() {
        return apecialIdentity;
    }

    public void setApecialIdentity(String apecialIdentity) {
        this.apecialIdentity = apecialIdentity;
    }

    public String getAreaTwo() {
        return areaTwo;
    }

    public void setAreaTwo(String areaTwo) {
        this.areaTwo = areaTwo;
    }

    public String getWorkUnitTwo() {
        return workUnitTwo;
    }

    public void setWorkUnitTwo(String workUnitTwo) {
        this.workUnitTwo = workUnitTwo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getProblemCategory() {
        return problemCategory;
    }

    public void setProblemCategory(String problemCategory) {
        this.problemCategory = problemCategory;
    }

    public String getMainQuestion() {
        return mainQuestion;
    }

    public void setMainQuestion(String mainQuestion) {
        this.mainQuestion = mainQuestion;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public Date getCreate() {
        return create;
    }

    public void setCreate(Date create) {
        this.create = create;
    }
}
